<template>
	<view class="">
		<view class="header">
			<view class="header-left" @click="goback()">
				<image src="../../static/left.png" mode=""></image>
			</view>
			<view class="header-content">
				尼古拉斯
			</view>
			<view class="header-right">
				<image src="../../static/lianxiren.png" mode=""></image>
			</view>
		</view>
		<view class="dialog">
			<view class="dialogTime">
				星期六 16:48
			</view>
			<view class="you">
				<view class="you-image">
					<image src="../../static/bg.jpg"></image>
				</view>
				<view class="you-box">
					在吗？在吗？在吗？在吗？
				</view>
			</view>
			<view class="my">
				<view class="my-box">
					在吗？在吗？在吗？在吗？在吗？
				</view>
				<view class="my-image">
					<image src="../../static/bg.jpg"></image>
				</view>
			</view>
			<view class="my">
				<view class="my-hongbao">
					<view class="hongbao-top">
						<view class="hongbao-left">
							<image src="../../static/hongbao.png" mode=""></image>
						</view>
						<view class="hongbao-right">
							<text>恭喜发财，大吉大利</text>
							<text>查看币种</text>
						</view>

					</view>
					<view class="hongbao-bottom">
						碧波红包
					</view>
				</view>
				<view class="my-image">
					<image src="../../static/bg.jpg"></image>
				</view>

			</view>
			<view class="dialoghongbao-box">
				<view class="dialoghongbao">
					<image src="../../static/hongbao.png" mode=""></image>尼古拉斯领取了你的币
				</view>

			</view>
		</view>
		<view class="bottom">
			<view class="send-message">
				<image class="mgl mgr" src="../../static/biaoqing.png" mode=""></image>
				<input type="text">
				<image class="mgl" src="../../static/fenxiang_2.png" mode=""></image>
				<image class="mgl mgr" src="../../static/jiaohao_2.png" mode=""></image>
			</view>
			<view class="send-box">
				<view class="send-item">
					<view class="item-image">
						<image src="../../static/dialog_2.png" mode=""></image>
					</view>
					<p>发送</p>
				</view>
				<view class="send-item">
					<view class="item-image">
						<image src="../../static/dialog_3.png" mode=""></image>
					</view>
					<p>接收</p>
				</view>
				<view class="send-item">
					<view class="item-image">
						<image src="../../static/dialog.png" mode=""></image>
					</view>
					<p>图片</p>
				</view>




			</view>
		
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {
			goback: function() {
				uni.navigateBack({
					delta: 1,
				})
			},

		}
	}
</script>
<style>
	.header {
		height: 128px;
		width: 100%;
		padding-top: 20px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		background: #FFFFFF;
		box-shadow: 0px 4px 8px 0px rgba(238, 238, 238, 0.5);
	}

	.header-left,
	.header-right {
		width: 100px;
		height: 88px;

		display: flex;
		align-items: center;
		justify-content: center;
	}

	.header image {
		width: 40px;
		height: 40px;
	}

	.header-content {
		flex: 1;
		text-align: center;
	}

	.dialogTime {
		width: 100%;
		height: 40px;
		line-height: 40px;
		font-size: 24px;
		color: #b6b6b6;
		text-align: center;
		margin: 40px 0;
	}

	.you {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		width: 100%;
		min-height: 140px;

		margin: 40px 0;
	}

	.you-image {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 140px;
		height: 140px;
	}

	.dialog image {
		width: 100px;
		height: 100px;
		border-radius: 50%;
	}

	.you-box {
		min-width: 40px;
		max-width: 50%;
		min-height: 60px;
		padding: 15px;
		font-size: 32px;
		box-sizing: border-box;
		word-break: break-word;
		background: #FFFFFF;
		border-radius: 10px;
	}

	.my {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		width: 100%;
		min-height: 140px;

		margin: 40px 0;
	}

	.my-image {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 140px;
		height: 140px;
	}

	.my-box {
		min-width: 40px;
		max-width: 50%;
		min-height: 60px;
		padding: 15px;
		font-size: 32px;
		box-sizing: border-box;
		word-break: break-word;
		background-color: #79c343;
		border-radius: 10px;
		color: #ffffff;
	}

	.my-hongbao {
		min-width: 50%;
		min-height: 180px;
		font-size: 32px;
		display: flex;
		flex-direction: column;
		background-color: #fff;
		border-radius: 10px;

		overflow: hidden;
	}

	.hongbao-top {
		display: flex;
		height: 140px;
		width: 100%;
		background-color: #ECA050;
		color: #ffffff;
	}

	.hongbao-left {
		width: 120px;
		height: 140px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.hongbao-left image {
		width: 88px;
		height: 88px;
	}

	.hongbao-right {
		flex: 1;
		height: 140px;
		justify-content: center;
		padding-right: 28px;
		display: flex;
		flex-direction: column;
	}

	.hongbao-right text:nth-child(2) {
		font-size: 20px;
		color: #ffffff;
	}

	.hongbao-bottom {
		font-size: 20px;
		color: #b6b6b6;
		padding-left: 20px;
		line-height: 40px;
	}

	.dialoghongbao-box {
		width: 100%;
		height: 44px;
		display: flex;
		justify-content: center;

	}

	.dialoghongbao {
		display: flex;
		align-items: center;
		min-width: 300px;
		height: 44px;
		padding: 0 20px;
		background-color: rgba(182, 182, 182, 0.3);
		border-radius: 10px;
		font-size: 24px;
		color: #595959;
	}

	.dialoghongbao image {
		width: 32px;
		height: 32px;
		margin-right: 20px;
	}

	.bottom {
		position: fixed;
		bottom: 0;
		left: 0;
		min-height: 100px;
		width: 100%;
	}


	.send-box {
		position: relative;
		bottom: 0;
		left: 0;
		min-height: 300px;
		width: 100%;
		background: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}

	.send-item {
		flex: 1;
		min-height: 100px;

		margin: 50px;
		display: flex;
		flex-direction: column;
	}

	.item-image {
		width: 100%;
		height: 0;
		padding-bottom: 100%;
		position: relative;

	}

	.send-item image {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		right: 0;
		margin-left: -40%;
		width: 80%;
		height: 80%;
	}

	.send-item p {

		width: 100%;
		height: 100%;
		font-size: 24px;
		display: flex;
		align-items: center;
		justify-content: center;
	}


	.send-message {
		position: relative;
		left: 0;
		right: 0;
		bottom: 0;
		height: 100px;
		background: #fff;
		display: flex;
		align-items: center;
		border-bottom: 2px solid #EEEEEE;
	}

	.send-message image {
		height: 60px;
		width: 60px;
	}

	.send-message input {
		margin: 0;
		flex: 1;
		height: 60px;
		background-color: #ffffff;
		border: 2px solid #EEEEEE;
		border-radius: 12px;
	}

	.mgl {
		margin-left: 0.2rem;
	}

	.mgr {
		margin-right: 0.2rem;
	}
</style>
